/**
 * Classe permettant de structurer un message du type appel d'ascenseur"
 * @authors: Bertrand GUILLAUMOND
 * @version 1.0
 */

import java.util.*;

public class Customer{
	private int currentFloor;
	private int destinationFloor;
	private int waitTime;
	private int travelTime;
	
	public Customer(int current, int destination)
	{
		currentFloor = current;
		destinationFloor = destination;
		waitTime = 0;
		travelTime = 0;
	}
	
	public int getDestination(){
		return destinationFloor;
	}

	public void setDestination(int d)
	{
		destinationFloor = d;
	}
	
	public int getCurrentFloor()
	{
		return currentFloor;
	}

	public int getTravelTime()
	{
		return travelTime;
	}
	
	public void setTravelTime(int t)
	{
		travelTime = t;
	}

	public void incrementTravelTime()
	{
		travelTime += 5;
	}

	public int getWaitTime()
	{
		return waitTime;
	}
	
	public void setWaitTime(int t)
	{
		waitTime = t;
	}

	public void incrementWaitTime()
	{
		waitTime += 5;
	}

}
